package com.jsmile.cloud.tradecenter.api.enums;

public enum TradeCodeEnum {

    ORDER_NOT_EXISTS(170001, "订单编号不存在!"), EXPRESS_NOT_EXISTS(170002, "物流单号不存在!"),;

    /**
     * 错误信息
     */
    private String resMsg;
    /**
     * 错误码
     */
    private Integer resCode;

    TradeCodeEnum(int resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }
}
